import matplotlib.pyplot as plt
import numpy as np

x = np.linspace(-1000, 1000, 10000)

fig = plt.figure()

ax1 = fig.add_subplot(2,3,1)
ax1.plot([1,2,3,4],[5,6,7,8])

ax2 = fig.add_subplot(2,3,2)
ax2.plot([-1,-2,-3,-4],[-5,-66,-7,-8])

ax3 = fig.add_subplot(2,3,3)
ax3.plot([11,12,13,14],[15,116,17,18])

ax4 = fig.add_subplot(2,3,4)
ax4.plot([61,62,63,64],[65,66,-67,68])

ax3 = fig.add_subplot(2,3,5)
y2 = x**2
ax3.plot(x,y2)

ax4 = fig.add_subplot(2,3,6)
y3 = 3 * x * x * x + 5 * x * x + 2 * x + 1
ax4.plot(x,y3)

plt.show()
